Ext.define('AmpleHarvest.views.irt.main',
{
    extend          : 'Ext.panel.Panel',
    alias           : 'widget.ampleharvest-views-irt-main',
    requires        :
    [
            'AmpleHarvest.views.contentSection.content',
            
    ],
    anchor          : '100% 100%',
	bubbleEvents	:
		[
			'doclassificationchange'
		],
    layout			:
	{
		type	: 'vbox',
		align	: 'stretch'
	},
    listeners       :
    {
    	reportContentClass	: function(str_contentClass)
    	{
        	this.fireEvent(
					AmpleHarvest.layout.cLayout.C_STR_EVENT_CLASSIFICATION_CHANGE,
					str_contentClass
			)
    	}
    },
    
    initComponent   : function()
    {
    	this.m_obj_content = Ext.create('AmpleHarvest.objects.importrequesttool.view.ImportRequest',
    			{
    				flex	: 1
    			});

        this.items =
        [
                this.m_obj_content
        ]
        this.callParent();
        
        this.on('render', function()
				{
					this.fireEvent('doclassificationchange', 'UNCLASSIFIED//FOR OFFICIAL USE ONLY');
				});
    }
});


